package sg.edu.nus.iss.vmcs.system;

import java.io.IOException;

import sg.edu.nus.iss.vmcs.abstraction.DataStoreLoaderFactory;

public class PropertyLoaderFactory extends DataStoreLoaderFactory
{	
	@Override
	public CashDataLoader createCashDataLoader() throws IOException
	{
		CashPropertyDataLoader cashLoader = new CashPropertyDataLoader();
		cashLoader.initialize();	
		return cashLoader;
	}

	@Override
	public DrinkDataLoader createDrinkDataLoader() throws IOException
	{
		DrinkPropertyDataLoader drinksLoader = new DrinkPropertyDataLoader();
		drinksLoader.initialize();	
		return drinksLoader;
	}

}
